Ethnographic Study of Copy and Paste Programming Practices in OOPL
نویسنده
چکیده
When programmers develop and evolve software, they frequently copy and paste (C&P) code from an existing code base, or sources such as web pages or documentation. We believe that programmers follow a small number of well defined C&P usage patterns when they program, and understanding these patterns would enable us to design tools to improve the quality of software. We conducted an ethnographic study in order to understand programmers’ copy and paste programming practices. We observed 5 subjects programming in Java using an instrumented Eclipse IDE for about 50 coding hours and conducted interviews with them. In addition, we also observed 4 programmers directly for about 10 hours while they programmed. Based on these observations, we have built a taxonomy of copy and paste usage patterns. This paper presents our taxonomy of copy and paste usage patterns and discusses our insights with examples drawn from our observations. We propose a set of tools that both can reduce software maintenance problems incurred by C&P and can better support the intents of commonly used copy and paste scenarios.
منابع مشابه
Safe Practices for Copy and Paste in the EHR. Systematic Review, Recommendations, and Novel Model for Health IT Collaboration.
BACKGROUND Copy and paste functionality can support efficiency during clinical documentation, but may promote inaccurate documentation with risks for patient safety. The Partnership for Health IT Patient Safety was formed to gather data, conduct analysis, educate, and disseminate safe practices for safer care using health information technology (IT). OBJECTIVE To characterize copy and paste e...
متن کاملOn the Design of an Object Oriented Programming Language
This paper presents work done to address two issues of interest to both Programming Language (PL) theory and software development: 1) The inadequacies of mainstream Object Oriented Programming Languages used in the software industry such as Java, C# and C++ and 2) The design and implementation of a statically typed Object Oriented Programming Language that addresses some of the issues identifie...
متن کاملAn ethnographic study of information needs and practices of nomadic people of Babadi Clan of Bakhtiari tribe
Background and aim: the aim was to study information needs and practices of nomadic people of Babadi clan of Bakhtiari tribe. Methods: the study uses ethnography as method and uses observation and semi-structured interview as data collection techniques. Results: life style increasingly influences and directs the way nomadic people look for information. They prefer informal information resource...
متن کاملCopy-Paste Tracking: Fixing Spreadsheets Without Breaking Them
Spreadsheets are the most popular live programming environments, but they are also notoriously fault-prone. One reason for this is that users actively rely on copy-paste to make up for the lack of abstraction mechanisms. Adding abstraction however, introduces indirection and thus cognitive distance. In this paper we propose an alternative: copy-paste tracking. Tracking copies that spreadsheet u...
متن کاملCP-Miner: A Tool for Finding Copy-paste and Related Bugs in Operating System Code
Copy-pasted code is very common in large software because programmers prefer reusing code via copy-paste in order to reduce programming effort. Recent studies show that copy-paste is prone to introducing bugs and a significant portion of operating system bugs concentrate in copy-pasted code. Unfortunately, it is challenging to efficiently identify copy-pasted code in large software. Existing co...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003